Skip to content

HiFiBerry Digi: set SPDIF status bits for sample rate - #899

Merged
pelwell merged 1 commit into
raspberrypi:rpi-3.18.yfrom
hifiberry:3.18-digifix
Mar 18, 2015
Merged

pelwell merged 1 commit into
raspberrypi:rpi-3.18.yfrom
hifiberry:3.18-digifix

Conversation

@hifiberry

Copy link
Copy Markdown
Contributor

The HiFiBerry Digi driver did not signal the sample rate in the SPDIF status bits.
While this is optional, some DACs and receivers do not accept this signal. This patch
adds the sample rate bits in the SPDIF status block.

@pelwell

pelwell commented Mar 18, 2015

Copy link
Copy Markdown
Contributor

I'm happy with the spirit of your change, but can I ask for two modifications?

  1. Using '0b' for binary constants is not supported by older versions of gcc - can you replace them with the equivalent hexadecimal values?
  2. Please fix the indentation of the break statements.

Thanks.

The HiFiBerry Digi driver did not signal the sample rate in the SPDIF status bits.
While this is optional, some DACs and receivers do not accept this signal. This patch
adds the sample rate bits in the SPDIF status block.
@hifiberry

Copy link
Copy Markdown
Contributor Author

Should be ok now.

pelwell added a commit that referenced this pull request Mar 18, 2015
HiFiBerry Digi: set SPDIF status bits for sample rate
@pelwell
pelwell merged commit c4ba281 into raspberrypi:rpi-3.18.y Mar 18, 2015
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Mar 22, 2015
firmware: dispmanx: Fix for locking with dispmanx_element_add with stereo object

firmware: video_decode: increase the number of userdatas

firmware: platform: Enable VCOS_RELEASE_ASSERTS
See: #377 (comment)

firmware: dispmanx: Fix for dispmanx_snapshot with more than one rotated layer
See: #377

kernel: config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING
See: raspberrypi/linux#894

kernel: config: Enable CONFIG_FB_MODE_HELPERS and CONFIG_FB_UDL
See: #141

kernel: bcm2708: Make ioctl logging quieter
See: raspberrypi/linux#895

kernel: HiFiBerry Digi: set SPDIF status bits for sample rate
See: raspberrypi/linux#899

kernel: dts: overlay: add generic support for ads7846
See: raspberrypi/linux#896
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Mar 22, 2015
firmware: dispmanx: Fix for locking with dispmanx_element_add with stereo object

firmware: video_decode: increase the number of userdatas

firmware: platform: Enable VCOS_RELEASE_ASSERTS
See: raspberrypi/firmware#377 (comment)

firmware: dispmanx: Fix for dispmanx_snapshot with more than one rotated layer
See: raspberrypi/firmware#377

kernel: config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING
See: raspberrypi/linux#894

kernel: config: Enable CONFIG_FB_MODE_HELPERS and CONFIG_FB_UDL
See: raspberrypi/firmware#141

kernel: bcm2708: Make ioctl logging quieter
See: raspberrypi/linux#895

kernel: HiFiBerry Digi: set SPDIF status bits for sample rate
See: raspberrypi/linux#899

kernel: dts: overlay: add generic support for ads7846
See: raspberrypi/linux#896
neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this pull request Feb 27, 2017
firmware: dispmanx: Fix for locking with dispmanx_element_add with stereo object

firmware: video_decode: increase the number of userdatas

firmware: platform: Enable VCOS_RELEASE_ASSERTS
See: raspberrypi#377 (comment)

firmware: dispmanx: Fix for dispmanx_snapshot with more than one rotated layer
See: raspberrypi#377

kernel: config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING
See: raspberrypi/linux#894

kernel: config: Enable CONFIG_FB_MODE_HELPERS and CONFIG_FB_UDL
See: raspberrypi#141

kernel: bcm2708: Make ioctl logging quieter
See: raspberrypi/linux#895

kernel: HiFiBerry Digi: set SPDIF status bits for sample rate
See: raspberrypi/linux#899

kernel: dts: overlay: add generic support for ads7846
See: raspberrypi/linux#896
@hifiberry
hifiberry deleted the 3.18-digifix branch October 17, 2017 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants